home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / icndos.zip / RUN.BAT < prev    next >
DOS Batch File  |  1993-01-12  |  3KB  |  94 lines

  1. @echo off
  2. REM                       *** IconDOS - DEMO MENU ***
  3. REM
  4. REM This batch file illustrates how easy it is to set up a single batch file
  5. REM to handle any number of IconDOS menu icons.  Each icon in the demo
  6. REM example menu (DEMO.MNU) has a command string which calls this batch file
  7. REM (RUN.BAT) and passes a unique parameter which identifies the selected
  8. REM icon.  The 'goto %1' below transfers batch file processing to a location
  9. REM which has been labeled to match the passed parameter (%1 in batch speak)
  10. REM in order to execute the proper DOS command set for the selected icon.
  11.  
  12. goto %1
  13.  
  14. :123
  15. REM To actually execute Lotus from this icon, replace the 'echo' line below
  16. REM with the commands to change to your Lotus directory and execute 123.
  17. REM These commands should look something like:
  18. REM       CD\LOTUS
  19. REM       123
  20. REM The same general method can be used to set up a command set for any of
  21. REM the labels/parameters listed below.
  22. echo DEMO MENU - You selected Lotus 1-2-3
  23. goto done
  24.  
  25. :DB4
  26. echo DEMO MENU - You selected dBase IV
  27. goto done
  28.  
  29. :WS
  30. echo DEMO MENU - You selected WordStar
  31. goto done
  32.  
  33. :WP
  34. echo DEMO MENU - You selected WordPerfect
  35. goto done
  36.  
  37. :QUICKEN
  38. echo DEMO MENU - You selected Quicken
  39. goto done
  40.  
  41. :MOUSE
  42. echo DEMO MENU - You selected the Logitech Mouse Driver
  43. goto done
  44.  
  45. :COREL
  46. echo DEMO MENU - You selected Corel Draw
  47. goto done
  48.  
  49. :CALC
  50. echo DEMO MENU - You selected the Calculator
  51. goto done
  52.  
  53. :WINDO
  54. echo DEMO MENU - You selected MicroSoft Windows
  55. goto done
  56.  
  57. :PAINT
  58. echo DEMO MENU - You selected Paint
  59. goto done
  60.  
  61. :BJ
  62. echo DEMO MENU - You selected Black Jack
  63. goto done
  64.  
  65. :FLY
  66. echo DEMO MENU - You selected Flight Simulator
  67. goto done
  68.  
  69. REM *** Below are the options for the submenu, SUBDEMO.MNU ***
  70.  
  71. :NETWK
  72. echo DEMO SUB-MENU - You selected Network
  73. goto done
  74.  
  75. :NOTE
  76. echo DEMO SUB-MENU - You selected NotePad
  77. goto done
  78.  
  79. :CD
  80. echo DEMO SUB-MENU - You selected CD-ROM
  81. goto done
  82.  
  83. :done
  84. REM This is the clean up area which contains the commands needed to return
  85. REM control to IconDOS after running a command set.  For an actual menu, the
  86. REM 'echo' line below should be replaced with something like:
  87. REM     C:
  88. REM     CD\MENU
  89. REM Alternately, control can be returned to IconDOS by specifying the full
  90. REM drive and directory path location for IconDOS and menu files as follows:
  91. REM     C:\MENU\ICONDOS C:\MENU\DEMO
  92. echo If this had been an actual menu, your software would be running now.
  93. ICONDOS DEMO
  94.